<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
	<head>
	</head>
	<body>
		<s:set name="usr1" value="#request.user" />
		<s:set name="usr" value="#request['user']" />
		<!--获取user的name属性 -->
		User对象的name值为：<br>
		#request.user.name:<s:property value="#request.user.name"/><br>
		user.name:<s:property value="user.name"/><br>
		#usr1.name:<s:property value="#usr1.name" /><br>
		#usr.name:<s:property value="#usr.name"/><br>
		<!--获取user的password属性 -->
		User对象的password值为：<br>
		<s:property value="#usr.password"/><br>
	</body>
</html>
